#ifndef __COMMAND_H__
#define __COMMAND_H__

#include "gpio.h"

typedef struct {
    char *cmd_str;
    gpio_t *gpios;
    unsigned int pins;
    gpio_status_t state;
    void (*hal_gpio_write_p)(gpio_t * gpios, unsigned int pins, gpio_status_t status);
} command_t;


command_t * find_command(const char *uart_str);



#endif
